﻿using A.M.ETO;
using A.M.Storage.I_Application;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using W.M.Materiel.Application.DTO;
using W.M.Materiel.Domain.DTO;
using W.M.Materiel.Domain.Entity;
using W.M.Materiel.Infrastruecure.DTO;

namespace W.M.Materiel.Application.IServices
{
    public interface IProduct_management_tableServices: IBaseServices<product_management_table,string>
    {
        //Task<PageETO<Product_management_tableDTO>> GetProduct_management(int pageSize, int pageIndex,  string? name, int? id);

        List<Product_managementDTO> GetProductionunit(int pageSize, int pageIndex, string? name, string? id, out int totalCount, out int pageCount);

        Task<ApiReturn<string>> GetproductAdd(product_management_table c);

        Task<ApiReturn<int>> GetproductDel(string? id);

        Task<ApiReturn<string>> GetproductUpdate(product_management_table c);


        Task<product_management_table> GetBillbackfill(string? product_number);


        //查询生产全部
        Task<List<QPromInfor>> GetProductInfor();
    }
}
